﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using QLT_BLL;
using QLT_Public;
using QLThuoc_report;

namespace GiaoDien
{
    public partial class uc_ThongKe_ThuocQuaHan : DevExpress.XtraEditors.XtraUserControl
    {
        public uc_ThongKe_ThuocQuaHan()
        {
            InitializeComponent();
        }
        ThongKe_BLL thongke_bll = new ThongKe_BLL();
        private void uc_ThongKe_ThuocQuaHan_Load(object sender, EventArgs e)
        {
            gridControl1.DataSource = thongke_bll.ThongKe_ThuocQuaHan();
        }

        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            //gridControl1.ShowPrintPreview();
            ThuocQH f = new ThuocQH();
            f.ShowDialog();
        }

        private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            uc_ThongKe_ThuocQuaHan_Load(sender, e);
        }
    }
}
